import math

if __name__ == '__main__':
    sum = 20
    for i in range(1, 20):
        if sum % i != 0:
            sum *= (i // math.gcd(sum, i))
    print(sum)
